#ifndef M_WIN_H
#define M_WIN_H
//接口类（菜单页面的接口）
#include "index.h"
#include "appention.h"
class M_Win
{
public:
    M_Win();
    virtual std::unique_ptr<QWidget> factoryMethod() =0;
    virtual ~M_Win()=0;
};

//主页类构造
class M_Index:public M_Win
{
public:
    M_Index();
    std::unique_ptr<QWidget> factoryMethod()override final;
    ~M_Index()override;
};

class M_Apent:public M_Win
{
public:
    M_Apent();
    std::unique_ptr<QWidget> factoryMethod()override final;
    ~M_Apent()override;
};
#endif // M_WIN_H
